package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._18桥接模式._1基本代码;

public class Test {

    public static void main(String[] args) {

        Abstraction ab;
        ab = new RefinedAbstraction();

        ab.setImplementor(new ConcreteImplementorA());
        ab.operation();

        ab.setImplementor(new ConcreteImplementorB());
        ab.operation();

    }
}







